package com.itboye.hutouben.activity.mysetting;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.itboye.hutouben.R;
import com.itboye.hutouben.base.BaseActivity;

/**
 * 修改密码
 */
public class UpadtePassActivity extends BaseActivity {
    TextView add_shap_title_tv;
    ImageView close_icon;
    RelativeLayout upadte_phone,upadte_pass;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_upadte_pass);
        add_shap_title_tv.setText(R.string.update_pass);
    }

    @Override
    protected void onInit() {

    }

    @Override
    protected void onReadIntent(Bundle bundle) {

    }

    @Override
    public void onClick(View v) {
        Intent intent = null;
        switch (v.getId()) {
            case R.id.close_icon:
                finish();
                break;
            case R.id.upadte_phone://手机号
                intent=new Intent(this,SendYzmOneActivity.class);
                startActivity(intent);
                break;
            case R.id.upadte_pass://旧密码
                intent=new Intent(this,ModifyPassActivity.class);
                startActivity(intent);
                break;

            default:
                break;
        }
    }
}
